home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2008 February
/
PCWFEB08.iso
/
Software
/
Resources
/
Utilities
/
ReNamer 4.10
/
ReNamer.exe
/
{app}
/
Scripts
/
User defined functions.pas
< prev
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Pascal/Delphi Source File
|
2006-06-12
|
453 b
|
21 lines
procedure DoSomething(var Parameter: WideString);
begin
// Do something here with Parameter.
// Original passed variable will be changed,
// because Parameter has been passed as a Var.
end;
function DoAnother(Parameter: WideString): WideString;
begin
// Do something here with Parameter,
// and return Result as a string.
Result := '';
end;
var
S: WideString;
begin
DoSomething(S);
FileName := DoAnother(S);
end.